package com.jy.bean;

public class ShoppingTrolley {
    private Integer shoppingTrolley_id;
    private Integer user_id;
    private Integer consignee_id;
    private String productName;
    private Integer price;
    private Integer quantity;

    public ShoppingTrolley() {
    }

    public ShoppingTrolley(Integer shoppingTrolley_id, Integer user_id, Integer consignee_id, String productName, Integer price, Integer quantity) {
        this.shoppingTrolley_id = shoppingTrolley_id;
        this.user_id = user_id;
        this.consignee_id = consignee_id;
        this.productName = productName;
        this.price = price;
        this.quantity = quantity;
    }

    public Integer getShoppingTrolley_id() {
        return shoppingTrolley_id;
    }

    public void setShoppingTrolley_id(Integer shoppingTrolley_id) {
        this.shoppingTrolley_id = shoppingTrolley_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getConsignee_id() {
        return consignee_id;
    }

    public void setConsignee_id(Integer consignee_id) {
        this.consignee_id = consignee_id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "ShoppingTrolley{" +
                "shoppingTrolley_id=" + shoppingTrolley_id +
                ", user_id=" + user_id +
                ", consignee_id=" + consignee_id +
                ", productName='" + productName + '\'' +
                ", price=" + price +
                ", quantity=" + quantity +
                '}';
    }
}
